Socket
Socket
Sign inDemoInstall

suffix

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

suffix

Add suffix to a filename.


Version published
Weekly downloads
315K
increased by9.78%
Maintainers
2
Weekly downloads
 
Created
Source

suffix NPM version NPM downloads Build Status

Add suffix to a filename.

Install

$ npm install --save suffix

Usage

const suffix = require('suffix')

suffix('a.js', '.min')
//=> a.min.js

API

suffix(filename, [suffix])

filename

Type: string

suffix

Type: string

The suffix string to be added.

License

MIT © EGOIST

Keywords

FAQs

Package last updated on 08 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc